list1 = [1, 2, 3, 4, 5]
str1 = "123456"
tup1= (1, 2, 3, 4, 5)
set1 = {1, 2, 3, 4, 5,41,562,1,62,742,1341}
dic1 = {"a": 1, "b": 2, "c": 3}

print(len(list1))
print(len(str1))
print(len(tup1))
print(len(set1))
print(len(dic1))
print("___________")
print(max(list1))
print(max(str1))
print(max(tup1))
print(max(set1))
print(max(dic1))
print("___________")
print(min(list1))
print(min(str1))
print(min(tup1))
print(min(set1))
print(min(dic1))

# 转列表
print(type(list(str1)))
# 转元组
print(type(tuple(list1)))
# 转字符串
print(type(str(list1)))
# 转集合
print(type(set(list1)))


print(type(str(dic1)))
print("____________")
# 排序
set2=sorted(set1,reverse=True)
print(set2)

